sleep method delete in server.js