using block write replace write for avoiding to write block in some client like low buffer size cc3000 library.