DBServer: Disconnect by Script?

Hi All,

Is there a script rule that disconnect from database server.
Im running marlist playout and database server on the same machine for remote connections but im not able to overwrite the database file with server running.

Thanks in advance

(moved from an older v5 thread. /mod)