Add implementation for ws_value_int type

Targets #69 
You created a potential deadlock.
Use the `try` variant and potentially a condition or something.