End deadlock in Assembly