Stop processing when closing
0.3.2