heartbeat threads blocks process shutdown because its hashed-wheel-timer is non-daemon thread.
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.