add keep connection timeout