fix application life depend on message server connection. this commit
handle all exception when message server shutdown and try to recover
connection.