update monitor test

validate NotImplementedError and bytes fixes for py3

and track sockets in case of failure