core: implement delayed packet sending