A bit of a mess, needs cleaning up, but it works.

Start serf in the background, and stop it.