Fix indent
Add "max pending finished sessions" configuration

It is used for forcing to free pending finished sessions even if no
idle time exists. But the feature is not implemented yet.