implement message send timeout