socket callback changes duration