OAK-9751 : incorporated review comments to readString instead of retuning while reach...