Issue #24: Clean shutdown for bin/fteproxy