Require 'server earlier.
Finish edit server when "killing the buffer".