Added auto-unspool mechanism which automatically checks for spool with the name of the leaving state during state leave method calls