Now uses "is_closed" instead of the nonexistent "closed".

From: https://pika.readthedocs.org/en/latest/_modules/pika/connection.html#Connection.is_closed