title: How to pass (or not wait) for a variable that has been aquired with lock
body: <p>I want to write a message to a serial port and I'm using <code>Lock</code> from <code>threading</code> module to make sure the serial is available. So, I have:</p>
  <pre><code>if serial_port_write_lock.acquire(True,1):
      await serial_port_write_lock.write_async(msg)
      serial_port_write_lock.release()
  </code></pre>
  <p>However, I don't want to wait for the end for the message to be written in case I have a new message also to be written. For such a case, I just want to pass.</p>