You can't.... it will always disconnect you when it goes to sleep... but if you don't want it to go to sleep when you close the lid download "InsomniaX"... Works great! http://www.semaja2.net/insomniax/ .. download the "InsomniaX_dmg_1.2.zip" file... Good Luck!