Caffeine

...

Prevents your Mac from sleeping