handle sigterm, inform about exit

resolves #445