Remove process wait, makes process hang