add keepalive to remain connect to mosca