The instance is running in multi process mode, and it seems that the code in exp_duplicate_database which attempts to disconnect the sessions before lauching the CREATE DATABASE ... TEMPLATE is not multi process aware.
The instance is running in multi process mode, and it seems that the code in exp_duplicate_ database which attempts to disconnect the sessions before lauching the CREATE DATABASE ... TEMPLATE is not multi process aware.