Fix deadlock on init

In some cases, open was getting called before init
completed, and the two were getting deadlocked.