The current signal handling in the code closes the process abruptly when it receives a signal such as SIGTERM.
This abrupt closure could interrupt file operations, potentially leaving files in a corrupt state.
Originally posted by @fcanela in #344 (comment)