I debugged the issue with releaseState by removing the volatile tag.