Check we're still connected before sending more packets