Fix bug in release method

See https://github.com/iron-io/iron_dotnet/issues/17 for more details