Yep, that was intentional. You only have until 4 a.m. Each contract appears to include wall clocks placed in certain rooms, which can be used to monitor the time. Go past 4, and it's game over.