Actually close the socket in keyd/the keyd backend