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

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