Fixing typo
Fixing typo
Request status is now a parameter
Using setImmediate instead of setTimeout.