Added Ctrl+C handler to uptest.py