when connect.state is interrupted it sets the connection.state to resuming