Tribler did not stop databasethread if dispersy was turned off