adds status check. safer nohup