Updated with timer test case and some cleanup.
Updated with timer test case and some cleanup.

Switched over to timers instead of checking each event.

linuxha/node-red-contrib-mytimeout,linuxha/node-red-contrib-mytimeout,linuxha/node-red-contrib-mytimeout