fixed #237 - memory leak in fibers mode