add spin lock for command sequence number

Fireworks increment a sequence number in request command when response.
The sequence number should be consistent in driver side.