Adding additional option for non-blocking mode.