Fixes bootstrap not detecting when the data is finished being sent.