make return values in sleep() match prototype