Add the possibility to stop attachment upload