Automatically restart java based things when needed after updates