Restrict scope of mutex.
Enable hwtstamping if available.