Rename feature to 'event_loop'
Fix previous
Fix 'timedwait' function
Disable poll loop when a timeout is specified
Refactor to use User autocommand as callback.