Be sure to close the Database pool when disabling the Core Module