Fix stop watch thread safety

Running the cucumber tests in parallel results in a NullPointerException being thrown by the StopWatch stop method as it is not thread safe.

I added a test to replicate the issue and have updated the StopWatch class to be thread safe.