Prevent Publish message from sending null options
Added  Connection::doEvents() to manually process events at a set interval