fix bug , yarn container should exit properly