No problem. I recommend drawing out problems like this. Here is my approximation of what’s happening as an image:
The blocks in each column represent the processes becoming active (their lifetimes). The casts may reach the server without the delay or a blocking receive, but most likely this is how it’ll play out.
In case you’re curious, here’s the plantuml source for it:
@startuml
participant main
participant monitor
participant server
main -> monitor
activate monitor
main ->x server
main ->x server
main ->x server
monitor -> server
activate server
deactivate server
main <-> monitor
deactivate monitor
@enduml



















