Fix leak of phone resources