avoid dividing by zero in case of stalled session