Close your MacBook without putting it to sleep.
NoSleep makes closing of your MacBook lid possible without going into sleep mode. Now you shouldn't plug your mouse and monitor to stay computer awake - just check a tick in the System Preferences and continue downloading of huge files and watching favorite movies over the network with lid closed.
Note: While the software is classified as free, it is actually donationware. Please consider making a donation to help support development.
Updated on Apr 11 2019