1. fix hang up bug when decline_handler returns error
2. fix bug when block count get from ns is less than required.