added channel timeout option