Modified s:last_status value

- fixed type of s:last_status
- set '-1' when exception occurred