Fixed bug with send queue processing.