https://java.net/jira/browse/JSIP-447

Clean up unreleased semaphore, contributed by tsearle

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2280 8e71dc83-d81e-6649-80f2-80b843a9b2be
https://java.net/jira/browse/JSIP-448

Another apparent deadlock scenario fix by tsearle

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2281 8e71dc83-d81e-6649-80f2-80b843a9b2be