Small change for main loop.
Added a dedicated heap for timeouts.