Memory leak here, handle is never deleted (should be done in the destructor)