Update srvr_task.jl

getting rid of more deprecations