Half open connection detection