Every time when any new message arrives i have to do connect -> publish -> disconnect
if ($client->connect(true, $will, $this->username, $this