ipdb, netns: use atexit to cleanup instances

All forgotten instances must be synchronized and stopped
properly.

Bug-Url: https://github.com/svinota/pyroute2/issues/84