Merge pull request
#1656 from minrk/embed_kernel_tests...
Merge pull request
#1656 from minrk/embed_kernel_tests
ensure kernels are cleaned up in embed_kernel tests
use contextmanager to ensure kernel manager sockets are closed at the end of tests, preventing delayed 'could not close sockets' errors in later tests.
closes
#1653