Don't start a session if it's known to be empty.

Follow up to #2512