fixed flags
quit has to be synced
SIGHUP can be asynced