/: added support for Ctrl+C and graceful close / cleanup