mqtt: Check conn_state before create request for sub_unsub

This also avoid a request leak in client->conn_state == TCP_DISCONNECTED error
path.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
1 file changed