Your comments

FWIW I had similar issues when loading pins during an oninit action. When I moved the loading of the pins to occur as a result of a user action instead of during the init phase stability improved quite a bit.