Fix query timeout log statement so that it uses actual timeout used.