Don't send notifications when closing quietly. Fixes issue #89.