some simple non blocking event loop manager as solve for https://gist.github.com/Mons/fbf24bb8a0c834e57f00 task