Added some code to test shutting down dirk

Using some from vibe.d for now.