utility to put an idle server to sleep