When a connection to the master fails, readwritesplit should always treat it the same way. Previously, if a connection to the master was lost but it hadn't lost the master status, the failure would be treated like a slave server failure.