Event loop is closed error

maybe this can help?