add connection._is_connect() method
deadlock raise OperationalError