Non-blocking mode for lab05