Use setImmediate if available
maintenance
Bumped version to 0.2.7