Remove environment and sleep