Make sure attempts to open a channel on a closed connection fail immediately
merge bug26439 into stable
merge stable into default