Revert "added locking around phase"

This reverts commit 6ab1e00fbd13125ca3c87b8a4457c504ff2868d3.