adapter.connect = None after adapter.close_connection