remove atexit hook

because it can be implemented by overriding stop()