suspending a process logic