The defer statement attempts to send a struct{} to the server control channel to gracefully shut down. The server has not been started yet, and therefore has no receiver, so sending to the channel hangs. **Steps to reproduce:** Panic in configure_ **Expected** Panic message **Actual** Server hangs with no panic message **Potential Fix** Move the defer behaviour to after the configure call has been executed.