configure heartbeat threadpoolexecutor