Sleep is an easy solution

We found out how to use sleep to fix our problems of response.end() -
not elegant but it works. Time to start looking at how to truly work
with asynchronous applications.