Agh. Had left a duplicate timeout variable which was too short. Deleted.
Responds to idle timeout period as intended now. Same release.