add keepalive and getting packets by fsm