Added double forking to detach from the udev process and not get killed after the udev timeout.
Typo