Added sleep timer for proper finder code to prevent high CPU usage