removed sleep from rails controler