Start tasks thread after connecting to the database
Fix prepopulated vehicles not working properly