API - Logout is not working

API - Logout is not working

I am seeing 'active sessions' even after issuing logout call. 

Following are the results of my logout call.

# #Mon Jan 09 04:33:26 PST 2012 RESULT=TRUE

I am using CURL to make

a. login
b. do some action
c. logout. 

But I am seeing the active sessions even after logout.  This is leading to maximum concurrent connection problem after a limit.  I cannot reuse session as I am writing a stateless application.