Cleanup in udev handlers