Make finding sensor more robust after reboot

After a reboot first time loading module fails to init, when the second time it would run. Added some check and retry to make sure the module inits correctly.