close connection after purge message received