Twisted script to reproduct doulbe free error