[RigoDaemon] make sure that the serializer is always released

Even in case of exceptions.