Fix foregrounding when restarting.
Remove foregrounding from async methods.
Merge pull request #2862 from bpindelski/rebased/develop/12467_admin_improvements

Fix "omero admin restart --foreground" (assist #12467). (rebased onto develop)