How to manage your workload after a bad nights sleep