Fix exit status error in sandbox.py.