[SMALL] fix to issue 1029 - drop database should work even if database is currently in use

@anpete