fix error in SetNonBlocking()