Can you add a todo to use an nonblocking sleep event here? Tornado has such features, we could use them.