Fixed and simplify synchronization of interrupt sockets