Added sleep and kill.