Disconnect sessions before deleting scenario DB.

Fixes #553.