Whatsapp used to run as service in background. Where as Output Messenger process may exit while clearing memory, but still it can receive push notifications from server & app will trigger/run automatically for new messages.
If you want to display mobile offline state as online state in user list, in Server Manager > Configuration > Client Settings, Enable "Display as mobile status as online"