dspserver: trying to semaphore protect bufferevent_write.