upgraded for pandas 0.14.1 and fixed issue with socked destruction