Loading
shell/mqtt: Handle negative return value of `wait`
`wait()` returns the retval of `zsock_poll()` which can be
negative but is currently unhandled.
This patch make sure that the error will be handled.
Signed-off-by:
Yong Cong Sin <yongcong.sin@gmail.com>