Remove 'handle_close' which was preventing commander.py from exiting.