[PATCH 2/5] server: Split mutex to a dedicated sync object.