added check on null for stream in PoolProperties load method