Fix cincurency issue
Merge pull request #168 from malakasilva/master

Fix cincurency issue
Merge pull request #42 from wso2-dev/master

sucessfully commited the changes
Timestamp : Thu Nov 27 10:17:39 IST 2014
https://wso2.org/jenkins-pr-builder/job/wso2-synapse/360/