Restart fix

-the delay between restart and shutdown has been eliminated in order to
prevent BEC from closing before restart