Updated taskdatabase and connectionpool --> singleton connection with a primitive "lock" to prevent backups from accidently locking the database
updated client