manager: support "max pending finished sessions" configuration