trap on statement timeouts when counting posts