Fixed loopback by adding reasonable timeout. Made lights work.