Reset connection on timeout, check the connection state on CONNECT frame reception