Common-sense rate limiting for SPOT API
Updates for node 0.10.0 - setImmediate