added graceful fail for when no sessions are running.