fix catch error
stop heartbeat timer when close embededclientchannel
stop heartbeat timer when close websocketclientchannel
shutdown threadpool while closing resetabletimer