Implement before_request check to reconnect jabberbot if necessary