I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing. Would you like to add more error handling for return values from functions like the following? - [pthread_create](http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_create.html) ⇒ [Manager::start_control_relaying](https://github.com/dominicgs/USBProxy/blob/2bf417a6e727475e320e6f69902d161b6708e351/src/lib/Manager.cpp#L244) - [calloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html) ⇒ [Device constructor](https://github.com/dominicgs/USBProxy/blob/08b6ff9956476b8084179ac7e68868356bdcb467/src/lib/Device.cpp#L133)