dilly-dally (around) with (someone or something)
To waste time with someone or something. You spent so much time dilly-dallying with your friends that now you'll be up all night writing that paper.
dilly-dally (around) with someone or something
to waste time frivolously with someone or something. Stop dilly dallying around with your friends. He is always dilly-dallying around with his work.