Memory optimisation:
Do not create and delete Handler, use a pool of object
setImmediate implementation simplification
Fix bug when no function is set (use the old one)
Now clean the old data properly