Added hGetNonBlocking function.