Removed setTimeout from the deferredResume