Adjusted webcamDaemon for OctoPi that does not hang