Resumable task queue for nodejs