Certain electromagnetic waves can interfere with triggering sleep mode and allow you to close it without sleeping. It works with home microwaves, just put your console in the microwave after you close the 3ds console and turn on the microwave for however long you want it to cancel out the sleep mode.
It will cancel out the sleep mode, among other things...