Im trying to send a network packet. Just before the onPause() is called. Ive tried using the os_is_paused(), but it only executes the code upon regaining focus. Is there any function, or third party extension that can achieve such a task, is the task even achievable? or i must try to create my own?