Remove exit(); lock