/// <summary>
        /// Deletes a single imposter from mountebank. Will also remove the imposter from the collection
        /// of imposters that the client maintains.
        /// </summary>
        /// <param name="port">The port number of the imposter to be removed</param>
        public async Task DeleteImposterAsync(int port)
        {
            var imposter = Imposters.FirstOrDefault(imp => imp.Port == port);
            await _requestProxy.DeleteImposterAsync(port).ConfigureAwait(false);

            if (imposter != null)
            {
                Imposters.Remove(imposter);
            }
        }