Adding disconnect/error to mock server, starting codec generator.