use adapted timeout instead of fixed pingTimeout