Removed unused lines, Added config support of C/R/S timeouts.