fix #12: The PackMgr module should be more resilient to socket erros

* all socket errors are now handled gracefully