validate range of pool_expire option (fix #620)

Fix for #620.