close log files, archive all stored files and backup metadata when closing server
close log files, archive files, backup to s3 when albatoss is shut down