thread-safe single linked list