[SPARK-4064]NioBlockTransferService.fetchBlocks may cause spark to hang.

cc @rxin 
this change looks good. but can you comment on when this would happen and put it into the source code?

thanks.