reimplemented snooping
shutting down engine