Update WampConnection.java

Small fix in race condition problem in the Wamp call implementation.