Install apps in parallel to deleting them - also fixes SQL errors when there are no apps to install.
Install apps in parallel to deleting them - also fixes SQL errors when there are no apps to install.

resin-io/resin-multivisor,deviceMP/resin-supervisor,nghiant2710/resin-supervisor,deviceMP/resin-supervisor,nghiant2710/resin-supervisor