fix fail fast behavior with nohup