js/database.js: Don't remove spinner after 2s

Follows 9c512bfc
As suggested by @RyanHerb

Fixes #3531
13 jobs for hotfix-sc/3531-fix-spinner-issue in 11 minutes and 18 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test Tools
passed #199556
test_tools

00:00:06

 
  Test Quality
passed #199557
web
code_quality

00:00:10

 
  Test Unit
passed #199558
web
test_browser_unit

00:00:09

passed #199559
web
test_server_unit

00:00:17

 
  Deploy Review
passed #199560
web
deploy_review

00:00:06

passed #199561
web manual
stop_deploy_review

00:00:03

 
  Test Functional
passed #200139
web
test_browser-functional

00:02:35

passed #199563
docker x86_64
test_server_functional

00:06:01

failed #199604
web
test_browser-functional

00:02:26

failed #199569
web
test_browser-functional

00:02:31

failed #199567
web
test_browser-functional

00:02:31

failed #199562
web
test_browser-functional

00:02:32

 
  Test Functional External
passed #199564
web
test_browser-functional-external

00:01:46