I think the problem had to do with my configuration of daemontools. It was configured to respawn at all runlevels making it impossible to unmount. So I have sinced fixed the issue by fixing that.
However, there might be reason to investigate a cleaner way of handling such situations for users not capable of taking care of it. For example makeing sure to sync all filesystems before shutdown even if unmount fails.
Oh sorry for not commenting on this.
I think the problem had to do with my configuration of daemontools. It was configured to respawn at all runlevels making it impossible to unmount. So I have sinced fixed the issue by fixing that.
However, there might be reason to investigate a cleaner way of handling such situations for users not capable of taking care of it. For example makeing sure to sync all filesystems before shutdown even if unmount fails.