removed log that slowed down the whole system
added at exit callback