Prevent Oculus from going to sleep

When taking the Oculus headset off, it continues to track for about 5 seconds before going into some sort of sleep mode. It messes up the player position and turns off the Oculus screens on the headset when this happens. It also seems that any network RPC’s get dropped, so if they take their headset off during an online session, even for a moment, it basically breaks the whole game.
How can I prevent it from occurring? Is there someway to force the proximity sensor always on?