Desparate attempt to get asynchronous events when usb plugged in failed :(
Found a solution to the USB nofification problem

Instead of using USR1SIG or sockets, I used a subprocess to observe the
/var/log/syslog file. Whenever it changes I scan the new lines for any
mention of 'USB' then I check the status of the USB