v0.0.2 : added heartbeat signals and retry function