send inactive or active on every connect and resume