Check for a timeout in avalon_scanhash and post to the write sem if we receive one.