Fixed some issue with oplogreader failing to connect