remove unused task call
SocketManager: add ind_soc_task_should_yield()

Also update OFStateManager to use it.