You need to create a 30-minute buffer between the end of your work time and sleep time.