Auto close
(Project Properties window)
*.prj (or .apr)\SETTINGS\Auto close
Use this setting to force the project to close when the last connection bound to the project terminates.