component for handling offline events in engine.io