Two files changed to fix the issue #333. The detail discussion in #333, could you help to review it?
Issue #333 fix fileEvent validity when a already removed fileEvent re…
…use inside aeProessEvents
Make sure we unregister the heartbeat when a replication stream is de…
Related to #344?